package com.mornd.gulimall.apis.seckill;

import com.mornd.gulimall.apis.coupon.to.SeckillSkuRelationTo;
import com.mornd.gulimall.common.core.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: mornd
 * @dateTime: 2023/8/29 - 16:51
 */

@FeignClient(value = "service-seckill")
public interface ISeckillClient {

    @GetMapping("/seckill/feign/getSkuSeckillInfo/{skuId}")
    R<SeckillSkuRelationTo> getSkuSeckillInfo(@PathVariable("skuId") Long skuId);
}
